:root{
  --navy:#061435;
  --ink:#0d1b43;
  --muted:#5e6c88;
  --blue:#0075ff;
  --blue-deep:#0a4ec9;
  --orange:#fe951c;
  --orange-deep:#ff7b00;
  --green:#13a871;
  --green-deep:#087b59;
  --paper:#ffffff;
  --soft:#f4f8fd;
  --line:rgba(8,24,67,0.1);
  --shadow-sm:0 16px 34px rgba(8,24,67,0.08);
  --shadow-md:0 24px 58px rgba(8,24,67,0.13);
  --shadow-hero:0 34px 76px rgba(0,0,0,0.28);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:'Segoe UI', sans-serif;
  background:#ffffff;
  color:var(--ink);
  padding-top:90px;
}

img{
  display:block;
  max-width:100%;
}

a{
  text-decoration:none;
}

button,
input{
  font:inherit;
}

.tutorials-page{
  overflow:hidden;
  background:#fff;
}

.container{
  width:min(100% - 32px, 1180px);
}

.tutorials-hero{
  position:relative;
  padding:96px 0 82px;
  color:#fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(135deg, #061435 0%, #0b347e 54%, #101827 100%);
  background-size:72px 72px, 72px 72px, auto;
}

.tutorials-hero::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-1px;
  height:120px;
  background:linear-gradient(180deg, rgba(255,255,255,0) 0%, #ffffff 100%);
  pointer-events:none;
}

.hero-layout{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(320px, 500px);
  align-items:center;
  gap:58px;
}

.section-kicker{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-bottom:18px;
  padding:10px 15px;
  border-radius:999px;
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.16);
  color:#a7d3ff;
  font-size:0.76rem;
  font-weight:800;
  letter-spacing:0;
  text-transform:uppercase;
}

.section-kicker-dark{
  background:#eaf3ff;
  border-color:#d8e9ff;
  color:var(--blue-deep);
}

.hero-copy h1{
  max-width:760px;
  margin:0 0 22px;
  color:#fff;
  font-size:clamp(2.8rem, 4.8vw, 4.8rem);
  line-height:1.03;
  letter-spacing:0;
}

.hero-copy p{
  max-width:650px;
  margin:0 0 28px;
  color:rgba(239,246,255,0.86);
  font-size:1.07rem;
  line-height:1.82;
}

.hero-search{
  display:grid;
  grid-template-columns:24px minmax(0, 1fr) 38px;
  align-items:center;
  gap:12px;
  width:min(100%, 660px);
  min-height:66px;
  padding:8px 10px 8px 20px;
  border-radius:8px;
  background:#fff;
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:0 20px 48px rgba(0,0,0,0.22);
}

.hero-search i{
  color:var(--blue);
  font-size:1.18rem;
}

.hero-search input{
  min-width:0;
  width:100%;
  border:0;
  outline:0;
  color:var(--ink);
  font-weight:650;
  background:transparent;
}

.hero-search input::placeholder{
  color:#7b879d;
  font-weight:600;
}

.hero-search button{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  border-radius:8px;
  background:#eef4fb;
  color:var(--ink);
  opacity:0;
  pointer-events:none;
  transition:opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-search button.show{
  opacity:1;
  pointer-events:auto;
}

.hero-search button:hover{
  background:var(--blue);
  color:#fff;
}

.hero-search button i{
  color:inherit;
  font-size:0.95rem;
}

.hero-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:18px;
}

.filter-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:108px;
  min-height:44px;
  padding:10px 18px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.1);
  color:#fff;
  font-weight:800;
  transition:background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active{
  background:#fff;
  color:var(--blue-deep);
  transform:translateY(-2px);
}

.filter-pill-free.active,
.filter-pill-free:hover{
  color:var(--green-deep);
}

.hero-media{
  position:relative;
  justify-self:end;
  width:min(100%, 500px);
}

.hero-media img{
  width:100%;
  aspect-ratio:4 / 5;
  object-fit:cover;
  border-radius:8px;
  border:1px solid rgba(255,255,255,0.2);
  box-shadow:var(--shadow-hero);
}

.hero-media-panel{
  position:absolute;
  left:18px;
  right:18px;
  bottom:18px;
  padding:16px 18px;
  border-radius:8px;
  background:rgba(6,20,53,0.82);
  color:#fff;
  backdrop-filter:blur(14px);
}

.hero-media-panel span{
  display:block;
  margin-bottom:4px;
  color:#8de0bd;
  font-size:0.78rem;
  font-weight:850;
  text-transform:uppercase;
}

.hero-media-panel strong{
  display:block;
  font-size:1.02rem;
  line-height:1.35;
}

.featured-free-section{
  padding:48px 0 52px;
  background:var(--soft);
}

.section-heading{
  max-width:900px;
  margin:0 0 22px;
}

.section-heading h2,
.results-top h2,
.premium-copy h2{
  margin:0 0 14px;
  color:var(--ink);
  font-size:clamp(2rem, 3.4vw, 3.3rem);
  line-height:1.08;
  letter-spacing:0;
}

.section-heading p,
.results-top p,
.premium-copy p{
  margin:0;
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.78;
}

.featured-free-section .section-heading{
  display:grid;
  grid-template-columns:minmax(260px, 0.82fr) minmax(320px, 1fr);
  align-items:end;
  gap:28px;
  max-width:none;
}

.featured-free-section .section-heading .section-kicker{
  grid-column:1 / -1;
  margin-bottom:0;
}

.featured-free-section .section-heading h2{
  margin:0;
  font-size:clamp(1.9rem, 3vw, 3.05rem);
}

.featured-free-section .section-heading p{
  max-width:650px;
  padding-bottom:8px;
}

.free-path-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
}

.free-path-card{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr) auto;
  gap:16px;
  align-items:flex-start;
  min-height:154px;
  padding:22px;
  border-radius:8px;
  background:#fff;
  border:1px solid rgba(19,168,113,0.18);
  color:var(--ink);
  box-shadow:var(--shadow-sm);
  transition:transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.free-path-card:hover{
  transform:translateY(-4px);
  border-color:rgba(19,168,113,0.38);
  box-shadow:var(--shadow-md);
}

.free-path-number{
  width:46px;
  height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  background:#e7fbf2;
  color:var(--green-deep);
  font-weight:900;
}

.free-path-card span{
  display:block;
  margin-bottom:7px;
  color:var(--green-deep);
  font-size:0.78rem;
  font-weight:850;
  text-transform:uppercase;
}

.free-path-card h3{
  margin:0 0 8px;
  color:var(--ink);
  font-size:1.18rem;
}

.free-path-card p{
  margin:0;
  color:var(--muted);
  line-height:1.55;
  font-size:0.95rem;
}

.free-path-card > i{
  color:var(--green-deep);
  font-size:1.18rem;
}

.tutorial-results-section{
  padding:96px 0 104px;
  background:#fff;
}

body.search-active .featured-free-section{
  display:none;
}

body.search-active .tutorial-results-section{
  padding-top:54px;
}

body.search-active .results-top{
  padding:24px 28px;
  border-radius:20px;
  background:#f7fbff;
  border:1px solid rgba(0,117,255,0.1);
}

.results-top{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-end;
  margin-bottom:34px;
}

.legend{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  padding-bottom:8px;
  color:var(--muted);
  font-weight:750;
}

.legend span{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

.status-dot{
  width:10px;
  height:10px;
  display:inline-block;
  border-radius:50%;
}

.status-free{
  background:var(--green);
}

.status-premium{
  background:var(--orange);
}

.tutorial-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.tutorial-card{
  position:relative;
  display:grid;
  grid-template-columns:minmax(170px, 235px) minmax(0, 1fr);
  align-items:stretch;
  min-height:142px;
  overflow:hidden;
  border-radius:26px;
  background:#fff;
  border:1px solid rgba(8,24,67,0.06);
  box-shadow:0 18px 45px rgba(8,24,67,0.07);
  cursor:pointer;
  transition:transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tutorial-card::before{
  content:"";
  position:absolute;
  top:28px;
  bottom:28px;
  left:258px;
  width:4px;
  border-radius:999px;
  background:var(--blue);
  z-index:2;
}

.tutorial-card:hover{
  transform:translateY(-4px);
  box-shadow:0 26px 62px rgba(8,24,67,0.11);
}

.tutorial-card[hidden]{
  display:none;
}

.tutorial-card-free:hover,
.tutorial-card-premium:hover{
  border-color:rgba(0,117,255,0.18);
}

.tutorial-media{
  position:relative;
  overflow:hidden;
  min-height:142px;
  background:#071633;
}

.tutorial-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.45s ease;
}

.tutorial-card:hover .tutorial-media img{
  transform:scale(1.045);
}

.access-badge{
  position:absolute;
  top:14px;
  left:14px;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 11px;
  border-radius:8px;
  color:#fff;
  font-size:0.74rem;
  font-weight:900;
  text-transform:uppercase;
  box-shadow:0 12px 28px rgba(0,0,0,0.16);
}

.access-free{
  background:var(--green);
}

.access-premium{
  background:linear-gradient(135deg, var(--orange), var(--orange-deep));
}

.tutorial-copy{
  position:relative;
  display:flex;
  flex-direction:column;
  flex:1;
  min-width:0;
  padding:22px 28px 22px 48px;
}

.tutorial-meta{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:8px;
}

.tutorial-meta span{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:5px 9px;
  border-radius:8px;
  background:#eef4fb;
  color:#51607a;
  font-size:0.72rem;
  font-weight:850;
  text-transform:uppercase;
}

.tutorial-card-free .tutorial-meta span:first-child{
  background:#e7fbf2;
  color:var(--green-deep);
}

.tutorial-card-premium .tutorial-meta span:first-child{
  background:#fff1df;
  color:#b95b00;
}

.tutorial-copy h3{
  position:relative;
  margin:0 0 8px;
  color:var(--ink);
  font-size:1.34rem;
  line-height:1.2;
}

.tutorial-copy h3::before{
  content:"\f4f4";
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  margin-right:12px;
  border:2px solid var(--blue);
  border-radius:10px;
  color:var(--blue);
  font-family:"bootstrap-icons";
  font-size:1rem;
  line-height:1;
  vertical-align:middle;
}

.tutorial-card-premium .tutorial-copy h3::before{
  content:"\f586";
}

.tutorial-card-free .tutorial-copy h3::before{
  content:"\f5ff";
}

.tutorial-copy p{
  margin:0 0 12px;
  color:var(--muted);
  line-height:1.5;
}

.tutorial-copy ul{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 14px;
  padding:0;
  list-style:none;
}

.tutorial-copy li{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 10px 5px 24px;
  border-radius:999px;
  background:#f3f7fc;
  color:#34435e;
  font-size:0.92rem;
  line-height:1.45;
}

.tutorial-copy li::before{
  content:"";
  position:absolute;
  left:10px;
  top:50%;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--blue);
  transform:translateY(-50%);
}

.tutorial-card-free .tutorial-copy li::before{
  background:var(--green);
}

.tutorial-card-premium .tutorial-copy li::before{
  background:var(--orange);
}

.tutorial-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:40px;
  width:max-content;
  max-width:100%;
  margin-top:auto;
  padding:9px 16px;
  border-radius:8px;
  background:#eef4fb;
  color:var(--blue-deep);
  font-weight:850;
  transition:background 0.2s ease, color 0.2s ease;
}

.tutorial-actions-row{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:auto;
}

.tutorial-actions-row .tutorial-action{
  margin-top:0;
}

.tutorial-buy-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:40px;
  width:max-content;
  max-width:100%;
  padding:9px 16px;
  border-radius:8px;
  background:linear-gradient(135deg, var(--orange), var(--orange-deep));
  color:#fff;
  font-weight:900;
  box-shadow:0 12px 24px rgba(254,149,28,0.18);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.tutorial-buy-action:hover{
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 16px 30px rgba(254,149,28,0.25);
}

.tutorial-action:hover{
  background:var(--blue);
  color:#fff;
}

.tutorial-action-free{
  background:#e7fbf2;
  color:var(--green-deep);
}

.tutorial-action-free:hover{
  background:var(--green);
  color:#fff;
}

.no-results{
  margin-top:28px;
  padding:44px 24px;
  border-radius:8px;
  text-align:center;
  background:var(--soft);
  border:1px solid var(--line);
}

.no-results i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;
  height:56px;
  margin-bottom:16px;
  border-radius:8px;
  background:#fff;
  color:var(--blue);
  font-size:1.35rem;
  box-shadow:var(--shadow-sm);
}

.no-results h3{
  margin:0 0 8px;
  color:var(--ink);
}

.no-results p{
  margin:0;
  color:var(--muted);
}

.premium-section{
  padding:96px 0;
  color:#fff;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(135deg, #061435 0%, #0b347e 58%, #111827 100%);
  background-size:72px 72px, 72px 72px, auto;
}

.premium-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(300px, 450px);
  align-items:center;
  gap:52px;
}

.premium-copy h2{
  color:#fff;
  max-width:720px;
}

.premium-copy p{
  color:rgba(239,246,255,0.84);
  max-width:650px;
}

.premium-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}

.hero-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:168px;
  min-height:50px;
  padding:13px 22px;
  border-radius:8px;
  font-weight:850;
  transition:transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.hero-btn:hover{
  transform:translateY(-2px);
}

.hero-btn-primary{
  background:linear-gradient(135deg, var(--orange), var(--orange-deep));
  color:#fff;
  box-shadow:0 18px 36px rgba(254,149,28,0.24);
}

.hero-btn-primary:hover{
  color:#fff;
  box-shadow:0 22px 42px rgba(254,149,28,0.3);
}

.hero-btn-secondary{
  background:rgba(255,255,255,0.1);
  color:#fff;
  border:1px solid rgba(255,255,255,0.18);
}

.hero-btn-secondary:hover{
  color:#fff;
  background:rgba(255,255,255,0.18);
}

.premium-checklist{
  display:grid;
  gap:14px;
}

.check-row{
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:18px;
  border-radius:8px;
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.15);
  color:#fff;
  font-weight:750;
  backdrop-filter:blur(14px);
}

.check-row i{
  color:var(--orange);
  font-size:1.18rem;
  flex:0 0 auto;
}

body.modal-open{
  overflow:hidden;
}

.tutorial-modal{
  position:fixed;
  inset:0;
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:34px;
  background:rgba(12,24,58,0.88);
  opacity:0;
  pointer-events:none;
  transition:opacity 0.22s ease;
}

.tutorial-modal.show{
  opacity:1;
  pointer-events:auto;
}

.tutorial-modal-close{
  position:fixed;
  top:28px;
  right:28px;
  width:58px;
  height:58px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.18);
  background:rgba(255,255,255,0.12);
  color:#fff;
  font-size:1.28rem;
  backdrop-filter:blur(12px);
  transition:background 0.2s ease, transform 0.2s ease;
}

.tutorial-modal-close:hover{
  background:rgba(255,255,255,0.2);
  transform:translateY(-2px);
}

.tutorial-modal-card{
  width:min(100%, 720px);
  max-height:min(90vh, 760px);
  overflow:hidden auto;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(255,255,255,0.18);
  box-shadow:0 34px 90px rgba(0,0,0,0.38);
  transform:translateY(18px) scale(0.98);
  transition:transform 0.22s ease;
}

.tutorial-modal.show .tutorial-modal-card{
  transform:translateY(0) scale(1);
}

.tutorial-modal-media{
  position:relative;
  height:clamp(250px, 46vh, 430px);
  overflow:hidden;
  background:#071633;
}

.tutorial-modal-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(5,12,31,0.36) 0%, rgba(5,12,31,0.12) 48%, rgba(5,12,31,0) 100%);
  pointer-events:none;
}

.tutorial-modal-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.tutorial-modal-access{
  position:absolute;
  top:20px;
  left:20px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:44px;
  padding:11px 18px;
  border-radius:12px;
  color:#fff;
  font-weight:900;
  text-transform:uppercase;
  box-shadow:0 14px 28px rgba(0,0,0,0.18);
}

.tutorial-modal-access.free{
  background:var(--green);
}

.tutorial-modal-access.premium{
  background:linear-gradient(135deg, var(--orange), var(--orange-deep));
}

.tutorial-modal-body{
  padding:28px 34px 30px;
}

.tutorial-modal-meta{
  display:flex;
  justify-content:flex-start;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.tutorial-modal-meta span{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:8px 13px;
  border-radius:8px;
  background:#eef4fb;
  color:#365174;
  font-size:0.78rem;
  font-weight:900;
  text-transform:uppercase;
}

.tutorial-modal-meta span:first-child{
  background:#e7fbf2;
  color:var(--green-deep);
}

.tutorial-modal-body h2{
  margin:0 0 12px;
  color:var(--ink);
  font-size:clamp(1.75rem, 3vw, 2.45rem);
  line-height:1.08;
  letter-spacing:0;
}

.tutorial-modal-body p{
  max-width:720px;
  margin:0 0 18px;
  color:#5d6a86;
  font-size:1rem;
  line-height:1.65;
}

.tutorial-modal-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:22px;
}

.tutorial-modal-points span{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 13px 7px 28px;
  border-radius:999px;
  background:#f3f7fc;
  color:#34435e;
  font-weight:650;
}

.tutorial-modal-points span::before{
  content:"";
  position:absolute;
  left:13px;
  top:50%;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--blue);
  transform:translateY(-50%);
}

.tutorial-modal-actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.tutorial-modal-action,
.tutorial-modal-buy{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:48px;
  padding:12px 20px;
  border-radius:10px;
  font-size:1rem;
  font-weight:900;
  transition:transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.tutorial-modal-buy[hidden]{
  display:none;
}

.tutorial-modal-action:hover,
.tutorial-modal-buy:hover{
  transform:translateY(-2px);
}

.tutorial-modal-action.free{
  background:#e7fbf2;
  color:var(--green-deep);
}

.tutorial-modal-action.free:hover{
  background:var(--green);
  color:#fff;
}

.tutorial-modal-action.premium{
  background:#fff1df;
  color:#b95b00;
}

.tutorial-modal-action.premium:hover{
  background:var(--orange);
  color:#fff;
}

.tutorial-modal-buy{
  background:linear-gradient(135deg, var(--orange), var(--orange-deep));
  color:#fff;
  box-shadow:0 14px 30px rgba(254,149,28,0.22);
}

.tutorial-modal-buy:hover{
  color:#fff;
  box-shadow:0 18px 34px rgba(254,149,28,0.3);
}

.footer-section{
  background:#071633;
  color:#fff;
  padding:70px 0 30px;
}

.footer-title{
  font-weight:800;
  margin-bottom:14px;
}

.footer-subtitle{
  font-weight:800;
  margin-bottom:16px;
}

.footer-text{
  color:#cbd5e1;
  line-height:1.65;
}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-links li{
  margin-bottom:8px;
}

.footer-links a{
  color:#cbd5e1;
  transition:color 0.25s ease, padding-left 0.25s ease;
}

.footer-links a:hover{
  color:#fff;
  padding-left:5px;
}

.footer-social{
  display:flex;
  align-items:center;
  gap:8px;
}

.footer-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:50%;
  background:rgba(255,255,255,0.1);
  color:#fff;
  transition:background 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover{
  background:var(--blue);
  transform:translateY(-3px);
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1);
  padding-top:20px;
  color:#aeb8c8;
  font-size:14px;
}

.reveal,
.reveal-left,
.reveal-right{
  opacity:0;
  transition:opacity 0.75s ease, transform 0.75s ease;
}

.reveal{
  transform:translateY(34px);
}

.reveal-left{
  transform:translateX(-34px);
}

.reveal-right{
  transform:translateX(34px);
}

.reveal.active,
.reveal-left.active,
.reveal-right.active{
  opacity:1;
  transform:translate(0, 0);
}

@media(max-width:1199px){
  .tutorial-card{
    grid-template-columns:minmax(150px, 215px) minmax(0, 1fr);
  }

  .tutorial-card::before{
    left:238px;
  }
}

@media(max-width:991px){
  body{
    padding-top:84px;
  }

  .tutorials-hero{
    padding:82px 0 74px;
  }

  .hero-layout,
  .premium-layout{
    grid-template-columns:1fr;
    gap:36px;
  }

  .hero-media{
    justify-self:start;
    width:100%;
  }

  .hero-media img{
    aspect-ratio:16 / 11;
  }

  .free-path-grid{
    grid-template-columns:1fr;
  }

  .featured-free-section .section-heading{
    grid-template-columns:1fr;
    gap:14px;
  }

  .featured-free-section .section-heading p{
    padding-bottom:0;
  }

  .results-top{
    align-items:flex-start;
    flex-direction:column;
  }

  .tutorial-card{
    grid-template-columns:minmax(140px, 190px) minmax(0, 1fr);
  }

  .tutorial-card::before{
    left:212px;
  }

  .tutorial-copy{
    padding:20px 22px 20px 44px;
  }
}

@media(max-width:767px){
  .hero-copy h1{
    font-size:2.55rem;
  }

  .hero-copy p,
  .section-heading p,
  .results-top p,
  .premium-copy p{
    font-size:1rem;
    line-height:1.72;
  }

  .hero-search{
    min-height:60px;
    grid-template-columns:22px minmax(0, 1fr) 34px;
    padding-left:16px;
  }

  .hero-search input{
    font-size:0.94rem;
  }

  .filter-pill{
    flex:1 1 calc(33.333% - 8px);
    min-width:0;
  }

  .featured-free-section,
  .tutorial-results-section,
  .premium-section{
    padding:72px 0;
  }

  .featured-free-section{
    padding:44px 0;
  }

  .featured-free-section .section-heading h2{
    font-size:2rem;
  }

  .tutorial-grid{
    gap:16px;
  }

  .tutorial-card{
    display:block;
    min-height:118px;
    border-radius:22px;
    box-shadow:0 18px 42px rgba(8,24,67,0.07);
  }

  .tutorial-card-free{
    border-color:rgba(19,168,113,0.2);
  }

  .tutorial-card-premium{
    border-color:rgba(254,149,28,0.22);
  }

  .tutorial-card::before{
    top:24px;
    bottom:24px;
    left:30px;
    width:4px;
    height:auto;
  }

  .tutorial-card-free::before{
    background:var(--green);
  }

  .tutorial-card-premium::before{
    background:var(--orange);
  }

  .tutorial-media{
    position:absolute;
    top:50%;
    right:14px;
    width:76px;
    height:76px;
    min-height:0;
    border-radius:18px;
    transform:translateY(-50%);
    opacity:1;
    pointer-events:none;
    border:1px solid rgba(8,24,67,0.08);
    box-shadow:0 12px 24px rgba(8,24,67,0.13);
  }

  .tutorial-media img{
    transform:none;
    filter:saturate(1.08) contrast(1.03);
  }

  .tutorial-card:hover .tutorial-media img{
    transform:none;
  }

  .access-badge,
  .tutorial-meta,
  .tutorial-copy ul{
    display:none;
  }

  .tutorial-copy{
    min-height:118px;
    padding:25px 108px 22px 58px;
    justify-content:center;
  }

  .tutorial-copy h3{
    display:flex;
    align-items:center;
    min-width:0;
    margin:0;
    color:#06113a;
    font-size:1.12rem;
    font-weight:850;
    line-height:1.25;
  }

  .tutorial-copy h3::before{
    flex:0 0 auto;
    width:28px;
    height:28px;
    margin-right:14px;
    border-radius:9px;
    font-size:0.88rem;
  }

  .tutorial-card-free .tutorial-copy h3::before{
    border-color:var(--green);
    color:var(--green);
  }

  .tutorial-card-premium .tutorial-copy h3::before{
    border-color:var(--orange);
    color:var(--orange);
  }

  .tutorial-copy p{
    display:-webkit-box;
    margin:6px 0 0;
    color:#5d6a86;
    font-size:0.82rem;
    line-height:1.38;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  .tutorial-action{
    position:absolute;
    inset:0;
    width:auto;
    max-width:none;
    min-height:0;
    margin:0;
    padding:0;
    border-radius:22px;
    opacity:0;
    color:transparent;
    background:transparent;
  }

  .tutorial-action i{
    display:none;
  }

  .tutorial-actions-row{
    display:none;
  }

  .premium-actions .hero-btn{
    width:100%;
  }

  .tutorial-modal{
    align-items:center;
    padding:74px 12px 22px;
  }

  .tutorial-modal-close{
    top:16px;
    right:16px;
    width:48px;
    height:48px;
    border-radius:10px;
    font-size:1.05rem;
  }

  .tutorial-modal-card{
    width:min(100%, 360px);
    max-height:78vh;
    border-radius:22px;
  }

  .tutorial-modal-media{
    height:190px;
  }

  .tutorial-modal-access{
    top:16px;
    left:16px;
    min-height:38px;
    padding:9px 14px;
    border-radius:10px;
    font-size:0.78rem;
  }

  .tutorial-modal-body{
    padding:20px 18px 20px;
  }

  .tutorial-modal-meta{
    justify-content:flex-start;
    margin-bottom:16px;
  }

  .tutorial-modal-meta span{
    min-height:30px;
    padding:7px 10px;
    font-size:0.72rem;
  }

  .tutorial-modal-body h2{
    margin-bottom:10px;
    font-size:1.45rem;
  }

  .tutorial-modal-body p{
    margin-bottom:14px;
    font-size:0.86rem;
    line-height:1.55;
  }

  .tutorial-modal-points{
    display:grid;
    gap:8px;
    margin-bottom:16px;
  }

  .tutorial-modal-points span{
    width:max-content;
    max-width:100%;
    min-height:30px;
    padding:6px 10px 6px 24px;
    font-size:0.78rem;
  }

  .tutorial-modal-points span::before{
    left:10px;
  }

  .tutorial-modal-action{
    width:100%;
    min-height:46px;
  }

  .tutorial-modal-buy{
    width:100%;
    min-height:46px;
  }
}

@media(max-width:575px){
  .container{
    width:min(100% - 24px, 1180px);
  }

  .hero-copy h1{
    font-size:2.22rem;
  }

  .section-heading h2,
  .results-top h2,
  .premium-copy h2{
    font-size:2rem;
  }

  .hero-media img{
    aspect-ratio:4 / 5;
  }

  .hero-media-panel{
    left:12px;
    right:12px;
    bottom:12px;
    padding:14px;
  }

  .free-path-card,
  .check-row{
    padding:20px;
  }

  .tutorial-card{
    min-height:104px;
    border-radius:20px;
  }

  .tutorial-card::before{
    top:22px;
    bottom:22px;
    left:24px;
  }

  .tutorial-media{
    right:12px;
    width:62px;
    height:62px;
    border-radius:16px;
    opacity:1;
  }

  .tutorial-copy{
    min-height:104px;
    padding:21px 84px 19px 48px;
  }

  .tutorial-copy h3{
    font-size:0.98rem;
  }

  .tutorial-copy h3::before{
    width:25px;
    height:25px;
    margin-right:10px;
    border-radius:8px;
    font-size:0.82rem;
  }

  .tutorial-copy p{
    margin-top:5px;
    font-size:0.76rem;
    line-height:1.32;
  }

  .free-path-card{
    grid-template-columns:1fr auto;
    min-height:auto;
    gap:12px;
  }

  .free-path-number{
    grid-column:1 / -1;
    width:40px;
    height:40px;
  }

  .filter-pill{
    flex-basis:100%;
  }

  .tutorial-modal-media{
    height:160px;
  }

  .tutorial-modal-body h2{
    font-size:1.3rem;
  }

  .tutorial-modal-body p{
    font-size:0.92rem;
  }
}
